/*
 * @LastEditors: 七七
 * @Date: 2023-01-08 11:15:26
 */
import React from "react";
import ReactDOM from "react-dom";
import App from "./App.jsx";
import store from "./redux/store.js";
import { Provider } from "react-redux";

ReactDOM.render(
  // 此处需要使用Provider包裹App，目的是让App所有的后代容器组件都能接收到store
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById("root")
);
